package com.kldy8.kldyw.filmfactory.bean;

import org.json.JSONArray;
import org.json.JSONObject;

/**
 * Created by user on 2016/10/18.
 */

public class TypeIds
{
    public String id;
    public String name;


        public static TypeIds resolution(JSONObject jsonObject)
        {
            if (jsonObject == null)
            {
                return  null;
            }

            TypeIds m_new = new TypeIds();
            m_new.id = jsonObject.optString("id");
            m_new.name = jsonObject.optString("name");
            return m_new;
        }
}

